<?php
include_once('common/header.php');
if($AppUI->id <= 0) {
	$this->_redirect(HOST_VFRIEND);
}
$objVfriendUser	= new Vfriend_User();
$strEmail		= $objRequest->getParam('email', '');
$objUser		= $objVfriendUser->getInfoByEmail($strEmail);
if($objUser) {	
	if($objUser->id == $AppUI->id) {
		echo 1;
	} else {
		echo 0;
	}
}
else {
	echo 1;
}
exit();
?>